<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'test.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>&nbsp; 
         用户业务:<br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=getAllusers:返回所有用户)<br>
        参数：(action=login,username=?,password=?:返回登录结果)     
   <input name="action" type="text" value=""/>
   <input name="username" type="text" value=""/>
   <input name="password" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
       <br> 注册
   <input name="action" type="text" value="regist"/>
  username <input name="username" type="text" value=""/>
   password<input name="password" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=getuserdetailbyid:根据用户id返回应招者详细信息)<br>   
   action<input name="action" type="text" value=""/>
   userid<input name="userid" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=getlevelbyuserid:根据用户id返回用户评价信息)<br>   
   action<input name="action" type="text" value=""/>
   userid<input name="userid" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=getlevellistbyid:根据用户id返回所有用户评价信息)<br>   
   action<input name="action" type="text" value=""/>
   userid<input name="userid" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=getdriverlevellistbyid:根据用户id返回所有司机评价信息)<br>   
   action<input name="action" type="text" value=""/>
   userid<input name="userid" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=submitjudge:插入评价)<br>   
   action<input name="action" type="text" value=""/>
   topicid<input name="topicid" type="text" value=""/>
    give<input name="give" type="text" value=""/>
    rating<input name="rating" type="text" value=""/>
     saysth<input name="saysth" type="text" value=""/>
      whatkindoforder<input name="whatkindoforder" type="text" value=""/>
      
   <input type="submit" value="提交">
   </form>
    <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=updateuserinfo:更新用户信息)<br>   
   action<input name="action" type="text" value=""/>
   userid<input name="userid" type="text" value=""/>
    prop(字段)<input name="prop" type="text" value=""/>
    content(更新内容)<input name="content" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
    <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=getrounddrivers:更新用户信息)<br>   
   action<input name="action" type="text" value=""/>
   userid<input name="userid" type="text" value=""/>
    longtitude<input name="longtitude" type="text" value=""/>
   latitude<input name="latitude" type="text" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
        车辆业务:<br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=updatecarinfo:客户端更新车辆信息)<br>
   action<input name="action" type="text" value=""/>
   userid<input type="text" name="userid" value=""/>
   prop(字段)<input type="text" name="prop" value=""/>
   content(更新内容)<input type="text" name="content" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>car" method="post">
   <%=basePath %>car<br>
        参数：(action=getAllcars:返回所有车辆信息123)<br>
        参数：(action=getCarInfoByuserid:用户id返回所有车辆信息)
   <input name="action" type="text" value=""/>
   <input type="text" name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
    <form action="<%=basePath %>car" method="post">
   <%=basePath %>car<br>
        参数：(action=verify:提交认证信息)<br>
   <input name="action" type="text" value=""/>
   userid<input type="text" name="userid" value=""/>
   content<input type="text" name="content" value=""/>
   type<input type="text" name="type" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <form action="<%=basePath %>car" method="post">
   <%=basePath %>car<br>
        参数：(action=getcarinfobyuserid:拿到某人的车信息)<br>
   action<input name="action" type="text" value=""/>
   userid<input type="text" name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <br>
        licence业务:<br>
   <form action="<%=basePath %>licence" method="post">
   <%=basePath %>licence<br>
        参数：(action=getlicenceinfobyuserid:拿到某人的驾照信息)<br>
   action<input name="action" type="text" value=""/>
   userid<input type="text" name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <br>
   <form action="<%=basePath %>user" method="post">
   <%=basePath %>user<br>
        参数：(action=updatelicenceinfo:客户端更新驾照信息)<br>
   action<input name="action" type="text" value=""/>
   userid<input type="text" name="userid" value=""/>
   prop(字段)<input type="text" name="prop" value=""/>
   content(更新内容)<input type="text" name="content" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
   <br>
        topic业务:<br>
   <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=addtopic:增加topic)<br>
      
   action<input name="action" value=""/>
   type<input name="type" value=""/>
   userid<input name="userid" value=""/>
   title<input name="title" value=""/>
   desc<input name="desc" value=""/>
   way<input name="way" value=""/>
   time<input name="time" value=""/>
   pay<input name="pay" value=""/>
   car<input name="car" value=""/>
   phone<input name="phone" value=""/>
   location<input name="location" value=""/>
   <input type="submit" value="提交">
   </form>
   
   <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=getalltopics:拿到前10条)<br>
      action<input name="action" value=""/>
   longtitude<input name="longtitude" value=""/>
    latitude<input name="latitude" value=""/>
    type<input name="type" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
  <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=gettopicbyid:根据id拿帖子详细信息)<br>
      action<input name="action" value=""/>
   location<input name="id" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
  <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=recall:应招帖子)<br>
      action<input name="action" value=""/>
   topicid<input name="topicid" value=""/>
   userid<input name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
  <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=getmydeclareorders:拿到自己发的帖子)<br>
      action<input name="action" value=""/>
   userid<input name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
  <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=getrecallorders:拿到自己申请的帖子)<br>
      action<input name="action" value=""/>
   userid<input name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   <br>
  <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=getrecalllist:拿到应招者列表)<br>
      action<input name="action" value=""/>
   topicid<input name="topicid" value=""/>
   <input type="submit" value="提交">
   </form>
    <br>
  <form action="<%=basePath %>topic" method="post">
   <%=basePath %>topic<br>
        参数：(action=throughrecall:通过某人的应招)<br>
      action<input name="action" value=""/>
   declareid（发帖人）<input name="declareid" value=""/>
    topicid<input name="topicid" value=""/>
     userid（应招人）<input name="userid" value=""/>
   <input type="submit" value="提交">
   </form>
   图片上传
   <br>
  <form action="<%=basePath %>uploadheader" method="post">
   <input type="submit" value="提交">
   </form>
   读取图片
   <br>
  <form action="<%=basePath %>getPhoto" method="get">
  filename（图片路径）<input name="filename" value=""/>
  scale（原图的百分之多少（整数））<input name="scale" value=""/>
   <input type="submit" value="提交">
   </form>
  </body>
</html>
